import BaseController from '../../core/controllers/Base.controller';

@Inject('$log', '$rootScope', '$state', 'globalService', 'personalWorkbenchService', 'ngDialog', 'ngDialogService')
class PersonalWorkbenchTodoController extends BaseController {
  constructor() {
    super(personalWorkbenchService, 'queryTodo');

    this.paginationService = this.personalWorkbenchService;
    this.$setQueryCallback((res) => {
      this.todoListData = res.rows;
    });

    this.$paginationQuery();
  }

}

export default PersonalWorkbenchTodoController;
